:global {
  body,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  header,
  footer,
  nav,
  article,
  section {
    margin: 0;
  }

  body {
    line-height: 1;
    // touch-action: none;
    font-size: 14px;
  }

  input,
  div,
  p,
  ul,
  li,
  dl,
  dd,
  dt,
  ol,
  nav,
  span {
    font-size: inherit;
  }

  body {
    ul,
    ol,
    p li {
      list-style: none;
      margin: 0;
      padding: 0;
    }
  }

  #app {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  // img {
  //   display: block;
  // }

  input,
  textarea {
    outline: none;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 4px 0.5em;

    &:disabled {
      background-color: transparent;
      cursor: not-allowed;
    }
  }

  i {
    list-style: none;
  }

  .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
  }

  .fx {
    display: flex;
  }

  .fx-jc-sb {
    justify-content: space-between;
  }

  .fx-ai-c {
    align-items: center;
  }

  .fx0 {
    flex-shrink: 0;
  }

  .fx1 {
    flex: 1;
  }

  .fx-cc {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fx-w {
    flex-wrap: wrap;
  }

  .fx-jc-c {
    justify-content: center;
  }
  .fx-d {
    flex-direction: column;
  }
  .fx-jc-sa {
    justify-content: space-around;
  }
  .h-center {
    display: flex;
    align-items: center;
  }
  .oh {
    overflow: hidden;
  }

  .password {
    -webkit-text-security: disc;
    -moz-text-security: disc;
    -ms-text-security: disc;
  }

  .text-over {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .text_over {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body {
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 1;
    overflow: hidden;

    --border-line: #e5e5e5; // 默认边框线颜色
    --hover-bg: #f2f2f2; // 默认鼠标移入高亮颜色
    --clear-icon: #b2b2b2 // 输入框清空图表的颜色
;
  }

  div,
  span,
  nav,
  header,
  footer,
  section,
  aside,
  ul,
  p,
  li,
  input,
  i {
    box-sizing: border-box;
    line-height: 1.5;
  }

  .none {
    display: none;
  }

  .router-animate-in-before {
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s;
  }

  .router-animate-in-after {
    transition: all 0.3s;
    transform: translateX(0);
  }

  // 修改antd默认你样式

  body {
    // 修改modal框的关闭图标
    .ant-modal-close-x {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  @media print {
    .no-print {
      display: none !important;
    }
  }

  // 带星号
  .required::before {
    content: '*';
    color: red;
  }
}
